<template>
    <div id="app">
        <transition name="right">
            <router-view></router-view>
        </transition>
    </div>
</template>

<script>
    export default {
        name: 'app'
    }
</script>

<style lang="less">
    .right-enter {
        transform: translateX(100%);
    }

    .right-enter-active {
        transition: .5s;
    }

    .right-leave-to {
        transform: translateX(-100%);
    }

    .right-leave-active {
        transition: .5s;
    }

    #app {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        width: 100%;
        height: 100%;
        position: absolute;
    }
</style>
